//
//  ClockTableViewCell.swift
//  SkyWeather
//
//  Created by lx on 2020/11/4.
//

import UIKit

class SkyTableViewCell: UITableViewCell {

    override func willMove(toSuperview newSuperview: UIView?) {
        super.willMove(toSuperview: newSuperview)
        
        for view in self.subviews {
            if view.isKind(of: UIScrollView.self) {
                (view as! UIScrollView).delaysContentTouches = false
                break
            }
        }

        self.selectionStyle = .none
        self.backgroundView?.backgroundColor = .clear
        self.contentView.backgroundColor = .clear
        self.backgroundColor = .clear
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }

}
